#eg1
#全局变量、局部变量
def myfun(a,b):
    return a + b
c = myfun(2,3)
print("a,b,之和为：",c)

c = 3#全局变量
def myfun1():
    for i in range(c):
        print(i)
print(c)
myfun1()
